// 处理ios系统1px边框2倍问题
@mixin border-fix($color: #000, $raduis: 0) {
  position: relative;
  &::after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    border: 1px solid $color;
    width: 200%;
    height: 200%;
    transform: scale(0.5);
    transform-origin: 0 0;
    border-radius: $raduis;
  }
}
@mixin border-top-1px($color) {
  position: relative;
  &::after {
    position: absolute;
    display: block;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    border-top: 1px solid $color;
    transform: scaleY(0.5);
  }
}
@mixin border-buttom-1px($color) {
  position: relative;
  &::after {
    position: absolute;
    display: block;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    border-top: 1px solid $color;
    transform: scaleY(0.5);
  }
}
